$OpenBSD: patch-src_event_c,v 1.3 2016/06/17 11:49:33 dcoppa Exp $
--- src/event.c.orig	Wed Jun  8 13:25:33 2016
+++ src/event.c	Wed Jun  8 13:26:00 2016
@@ -103,7 +103,9 @@ static void handleKeyPress(XEvent *event);
 static void handleFocusIn(XEvent *event);
 static void handleMotionNotify(XEvent *event);
 static void handleVisibilityNotify(XEvent *event);
+#ifdef HAVE_INOTIFY
 static void handle_inotify_events(void);
+#endif
 static void handle_selection_request(XSelectionRequestEvent *event);
 static void handle_selection_clear(XSelectionClearEvent *event);
 static void wdelete_death_handler(WMagicNumber id);
